package com.yb;

import com.spring.ApplicationContext;
import com.spring.BeanPostProcessor;
import com.spring.ComponentScan;

@ComponentScan("com.yb")
public class Main {
    public static void main(String[] args) {
        ApplicationContext context = new ApplicationContext(Main.class);
        UserService userService =(UserService)  context.getBean("userService");
        userService.test();
    }
}
